﻿using Ewell.BizComponent.Charge.UI.VM;
using Ewell.Interface.Common.Model.GateWay.Dto.Dict;
using Ewell.Interface.Common.Model.GateWay.GateWayUriInfo;
using Ewell.Interface.Common.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Contexts;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Ewell.BizComponent.Charge.UI
{
    /// <summary>
    /// PreCashierFrm.xaml 的交互逻辑
    /// </summary>
    public partial class PreCashierFrm : Page
    {
        public PreCashierVm vm { get; set; }
        public PreCashierFrm()
        {
            InitializeComponent();
        }

        public PreCashierFrm(PreCashierVm vm):this()
        {
            this.vm = vm;
        }

        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            this.DataContext = vm;
            //if (string.IsNullOrWhiteSpace(vm.context.patientVm.interfaceId))
            //{
            //    vm.context.cashierMainVm.next();
            //}
        }

    }
}
